package com.open.capacity.paper.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.open.capacity.common.model.Question;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @author liangd
 * @since 2021-02-02 15:16
 */
@Mapper
public interface QuestionDao extends BaseMapper<Question> {

    List<Question> findList(Map<String, Object> params);

    Set<Question> findQuestionByPaperIds(@Param("papeids") Set<Integer> papeids);

}
